home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / batchut / sputls.zip / DTEXT.DOC < prev    next >
Text File  |  1991-01-06  |  3KB  |  76 lines

  1. Display Text  version 1.0 (C) SPETER SOFTWARE,   January 1991.
  2.  
  3. This program will display a text string (using the specified text attribute).
  4.  
  5. The program was written in Borland's Turbo Pascal 5.5
  6.  
  7. Usage:
  8. ------
  9. 1:   DTEXT [/h]
  10.  
  11.         Output a help screen.
  12.           /h       (optional)
  13.  
  14. 2:   DTEXT [/n<char>] [/q] x y attr message
  15.  
  16.         Display "message" starting at (x,y);
  17.           /n<char>  (optional)  sets the separator used to mark a new-line;
  18.           /q        (optional)  causes quote marks at the beginning and end
  19.                                 of the message to NOT be deleted;
  20.           x                     top-left (column) of box, in the range [1..80];
  21.           y                     top-left (line)   of box, in the range [1..25];
  22.           attr                  character attribute [1..255], see SHOWATTR.EXE;
  23.           message               a string of text (NOT including ANSI escape
  24.                                 sequences);  the character  !  is used to force
  25.                                 a new-line in the message.  (/n can be used to
  26.                                 re-define the new-line char).
  27.  
  28.           NOTE:   The length of the command line tail is limited to 127 
  29.                   characters;  therefore the message string has a limit of 
  30.                   about 110 chars.
  31.  
  32. Examples:
  33. ---------
  34. 1:   DText /n$ 40 3 23 Press any key to continue$     or ESC to abort!
  35.  
  36.           /n$      re-defines the new-line character from "!" to "$"
  37.           40 3     place the top-left of the box at column 42 of line 3
  38.           23       text attribute (white on blue)
  39.           Press..  the message
  40.  
  41.      Result:
  42. 1
  43. 2 <-screen line
  44. 3                             (40,3)-->Press any key to continue
  45. 4                                           or ESC to abort!
  46.  
  47. 2:   DText 40 3 23 "       Press!any key to continue!  or ESC to abort"
  48.  
  49.           40 3     place the top-left of the box at column 42 of line 3
  50.                    NOTE: because /s2 was specified the corner is moved 2.
  51.           23       text attribute (white on blue)
  52.           "..."    the quotes are used to indent the first line of the message
  53.  
  54.      Result:
  55. 1
  56. 2 <-screen line
  57. 3                             (40,3)-->       Press
  58. 4                                      any key to continue
  59. 5                                        or ESC to abort
  60.  
  61. Correspondence:
  62. ---------------
  63.     Please address any comments to:
  64.  
  65.         Stephen Peter
  66.  
  67.     INTERNET:
  68.         steve@cad0.arch.unsw.oz.au
  69.  
  70.     POST:
  71.         SPETER SOFTWARE
  72.         P.O. BOX 643
  73.         LANE COVE
  74.         NSW  2066
  75.         AUSTRALIA
  76.